/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package generics.simpleExample;

/**
 *
 * @author Bryce.Alcock
 */
public class Test {
    private static void test(Wrapped wrapper){
        wrapper.setObject(new MyString("Sungard"));
        Object s = wrapper.getObject();
    }

    public static void main(String[] args){
        Wrapped<MyString> wrapper = new Wrapped<MyString>(new MyString("Citibank"));
        test(wrapper);
    }

}
